<div class="row">
    <div class="col-xs-12">
        <div class="panel panel-midnightblue">
            <div class="panel-heading"><h4>PC设置</h4></div>
            <div class="panel-body">
                <form action="" class="form-horizontal row-border"  data-validate="parsley" id="validate-form">
                    <div class="form-group">
                        <label class="col-sm-3 control-label" for="server_url">服务器地址:</label>
						<div class="col-sm-6">
							<select class="form-control" name="server_url" id="server_url">
								<option value="http://smartgym.ocmcom.com/" {eq name="model.server_url" value="http://smartgym.ocmcom.com/"}selected{/eq} >http://smartgym.ocmcom.com/</option>
								<option value="http://smartgymdemo.ocmcom.com/" {eq name="model.server_url" value="http://smartgymdemo.ocmcom.com/"}selected{/eq} >http://smartgymdemo.ocmcom.com/</option>
							</select>
						</div>
                    </div>
                    
                    <div class="form-group">
                    		<label class="col-sm-3 control-label" >默认浏览器:</label>
                    		<div class="col-sm-6">
                    			<select class="form-control" name="browser" id="browser">
                    				<option value="2" {if condition="$model.browser eq 2"}selected{/if} >IE</option>
									<option value="1" {if condition="$model.browser eq 1"}selected{/if} >CHROME</option>
                    			</select>
                    		</div>
                    </div>
                    
                    <div class="form-group">
                    		<label class="col-sm-3 control-label" >采集图片类型:</label>
                    		<div class="col-sm-6">
                    			<select class="form-control" name="pic_version" id="pic_version">
                    					<option value="0" {if condition="$model.pic_version eq 0"}selected{/if} >彩色</option>
                    					<option value="1" {if condition="$model.pic_version eq 1"}selected{/if} >黑白</option>
                    			</select>
                    		</div>
                    </div>
                    
                    <div class="form-group">
                    		<label class="col-sm-3 control-label" >锁体类型:</label>
                    		<div class="col-sm-6">
                    			<select class="form-control" name="locker_version" id="locker_version">
                    					<option value="0" {if condition="$model.locker_version eq 0"}selected{/if} >旧体锁</option>
                    					<option value="1" {if condition="$model.locker_version eq 1"}selected{/if}  >新体锁</option>
                    			</select>
                    		</div>
                    </div>
                    
                     <div class="form-group">
                    		<label class="col-sm-3 control-label" >是否加密:</label>
                    		<div class="col-sm-6">
                    			<select class="form-control" name="is_locker" id="is_locker">
                    					<option value="0" {if condition="$model.is_locker eq 0"}selected{/if} >不加密</option>
                    					<option value="1" {if condition="$model.is_locker eq 1"}selected{/if} > 加密</option>
                    			</select>
                    		</div>
                    </div>
                    <div class="form-group">
                    	<label class="col-sm-3 control-label">卡密钥</label>
                    	<div class="col-sm-6">
                    		<input type="text" class="form-control" required="required" data-type="number"  placeholder="" value="{$model.card_keys}"  name="card_keys" id="card_keys"/>
                    	</div>
                    </div>
                    
                    <div class="form-group">
                    	<label class="col-sm-3 control-label">店铺代码</label>
                    	<div class="col-sm-6">
                    		<input type="text" class="form-control"  placeholder="" value="{$model.shop_code}"  readonly="readonly"/>
                    	</div>
                    </div>
                    
                     <div class="form-group">
                    		<label class="col-sm-3 control-label" >定制类型(gym_type):</label>
                    		<div class="col-sm-6">
                    			<select class="form-control" name="gym_type" id="gym_type">
                    				
                    					<option value="0" {if condition="$model.gym_type eq 0"}selected{/if} >0(默认)</option>
                    					<option value="1" {if condition="$model.gym_type eq 1"}selected{/if} >1(读取块10-奥世)</option>
                    					<option value="2" {if condition="$model.gym_type eq 2"}selected{/if}  >2(不校验密码-东方)</option>
                    					<option value="3" {if condition="$model.gym_type eq 3"}selected{/if}  >3(扇区11-爱尚)</option>
                    					<option value="4" {if condition="$model.gym_type eq 4"}selected{/if}  >4</option>
                    					<option value="5" {if condition="$model.gym_type eq 5"}selected{/if}  >5</option>
                    					<option value="6" {if condition="$model.gym_type eq 6"}selected{/if}  >6</option>
                    					<option value="7" {if condition="$model.gym_type eq 7"}selected{/if}  >7</option>
                    					<option value="8" {if condition="$model.gym_type eq 8"}selected{/if}  >8</option>
                    					<option value="9" {if condition="$model.gym_type eq 9"}selected{/if}  >9</option>
                    			</select>
                    		</div>
                    </div>
                    
                    <div class="form-group">
                    		<label class="col-sm-3 control-label" >断网模式-进场:</label>
                    		<div class="col-sm-6">
                    			<select class="form-control" name="off_line_in" id="off_line_in">
                    					<option value="0" {if condition="$model.off_line_in eq 0"}selected{/if} >取消</option>
                    					<option value="1" {if condition="$model.off_line_in eq 1"}selected{/if} >设置</option>
                    			</select>
                    		</div>
                    </div>
                    <div class="form-group">
                    		<label class="col-sm-3 control-label" >断网模式-出场:</label>
                    		<div class="col-sm-6">
                    			<select class="form-control" name="off_line" id="off_line">
                    					<option value="0" {if condition="$model.off_line eq 0"}selected{/if} >取消</option>
                    					<option value="1" {if condition="$model.off_line eq 1"}selected{/if} >设置</option>
                    			</select>
                    		</div>
                    </div>
                    
                    <div class="form-group">
                    		<label class="col-sm-3 control-label" >模板个数(max):</label>
                    		<div class="col-sm-6">
	                    		<select class="form-control" name="model_count" id="model_count">
	                    					<option value="1" {if condition="$model.model_count eq 1"}selected{/if} >1</option>
	                    					<option value="2" {if condition="$model.model_count eq 2"}selected{/if}  >2</option>
	                    					<option value="3" {if condition="$model.model_count eq 3"}selected{/if}  >3</option>
	                    		</select>
                    		</div>
                    </div>
					<div class="form-group">
						<label class="col-sm-3 control-label" >读卡器版本:</label>
						<div class="col-sm-6">
							<select class="form-control" name="reader_version" id="reader_version">
								<option value="0" {if condition="$model.reader_version eq 0"}selected{/if} >旧版</option>
								<option value="1" {if condition="$model.reader_version eq 1"}selected{/if} >新版</option>
							</select>
						</div>
					</div>
					<div class="form-group">
						<label class="col-sm-3 control-label" >模板存储类型:</label>
						<div class="col-sm-6">
							<select class="form-control" name="model_store_type" id="model_store_type">
								<option value="0" {if condition="$model.model_store_type eq 0"}selected{/if} >本地文件</option>
								<option value="1" {if condition="$model.model_store_type eq 1"}selected{/if} >本地数据库</option>
							</select>
						</div>
					</div>
                   <input name="shop_id" type="hidden" value="{$shop.id}" />
                   <input name="shop_code" type="hidden" value="{$shop.shop_code}" />
                   <input name="id" type="hidden" value="{$id}"  />
                </form>
            </div>
            <div class="panel-footer">
                <div class="row">
                    <div class="col-sm-6 col-sm-offset-3">
                        <div class="btn-toolbar">
                            <button class="btn-primary btn" id="form-submit">提交</button>
                            <button class="btn-default btn" data-dismiss="modal">关闭</button>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<script type='text/javascript' src='{$Think.OPERATION_VIEW_JS}shop/set_pc_config.js'></script>